package com.yc.DAO;

import com.yc.bean.Account;

import java.util.List;

/**
 * @ClassName AccountDao
 * @since: 2023/8/3 09:42
 * @auth: kirito
 * @description:
 **/
public interface AccountDao {
    int insert(double money);

    void update(int accountid,double money);

    void delete(int accountid);

    int findCount();

    List<Account> findAll();

    Account findById(int accountid);
}
